package com.xingchi.tornado.dict.model.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * <p>
 *  视图对象
 * </p>
 *
 * @author xingchi
 * @date 2025-05-27 15:24
 */
@Data
@Schema(name = "DictItemVO", description = "视图对象")
public class DictItemVO {

    /**
     * id
     */
    @Schema(description = "")
    private Long id;

    /**
     * 分组code
     */
    @Schema(description = "分组code")
    private String groupId;

    /**
     * 字典值
     */
    @Schema(description = "字典值")
    private Integer code;

    /**
     * 字典名称
     */
    @Schema(description = "字典名称")
    private String name;

    /**
     * 字典描述
     */
    @Schema(description = "字典描述")
    private String desc;

    /**
     * 可见性
     */
    @Schema(description = "可见性")
    private Integer visible;

    /**
     * 排序
     */
    @Schema(description = "排序")
    private Integer sort;

    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

}
